package AprovadoReprovado;

public class CorridaCavalo {
   public static void main(String[] args)
               throws InterruptedException{
      Runnable r1 = new Cavalo("Pangaré");
      Runnable r2 = new Cavalo("Balube De Rue");
      Runnable r3 = new Cavalo("Potro Véio");
      Runnable r4 = new Cavalo("Puro Sangue");
      Thread t1 = new Thread(r1);
      Thread t2 = new Thread(r2);
      Thread t3 = new Thread(r3);
      Thread t4 = new Thread(r4);
      t1.start();
      t2.start();
      t3.start();
      t4.start();
   }
}
